module.exports = (app) => {
  const auth = app.middleware.auth();
  // 广告模块-------------------------------------------------------------
  app.router.post('/api/ad/create',auth, app.controller.ad.create); 
  app.router.post('/api/ad/info',auth, app.controller.ad.info);  
  app.router.post('/api/ad/page',auth, app.controller.ad.page);  
  app.router.post('/api/ad/edit',auth, app.controller.ad.edit);  
  app.router.post('/api/ad/del',auth, app.controller.ad.del);  
};
